﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpDB
{
    public partial class DAOBase
    {
        public List<string> GetListColumn(string strSql, string columnName = "")
        {
            return QueryTable(strSql).GetFirstCol<string>(columnName);
        }

        public int ExecuteSql(string strSql, params System.Data.IDataParameter[] cmdParms)
        {
            return ExecuteSql(strSql, 30, cmdParms);
        }
    }
}
